<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8" import="org.swim.web.utils.*"%>

<!DOCTYPE html>
<html lang="en">
<head>
<%@include file="include/header.jsp"%>
<title><%=SwimConst.getTitle("Administration login")%></title>
</head>
<body>
	<%@include file="include/error-handling.jsp"%>
	<div class="container">
		<div style="text-align: center; margin-top: 30px">
			<h3>Swim 2.0 Administration</h3>
			<h5>
				Insert login and password<br />
			</h5>
			<a href="<%=SwimConst.Url.Servlet.HOME%>"><img
					src="<%=SwimConst.Url.WEBCONTENT%>/img/logo/300x148.png" style="margin: 10px"/></a>
			<form class="form-inline" method="post"
				action="<%=SwimConst.Url.Servlet.ADMIN%>?a=<%=Action.ADMINLOGIN.name().toLowerCase()%>">
				<div class="controls">
					<input name="username" class="span2" type="text"
						placeholder="Username" required> <input name="password"
						class="span3" type="password" placeholder="Password" required>
					<button class="btn btn-primary" type="submit"
						style="margin-top: 2px">Login</button>
				</div>
			</form>
		</div>
	</div>
	<%@include file="include/footer.jsp"%>
	<%@include file="include/script-common.jsp"%>
</body>
</html>